Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 8 - Video Digitizer Components / Video Digitizer Components Reference
Video Digitizer Component Functions / Controlling Color


VDUseThisCLUT

Some video digitizer components allow applications to specify the lookup table for color digitization. Your application can set the color lookup table by calling the VDUseThisCLUT function.

pascal VideoDigitizerError VDUseThisCLUT
                            (VideoDigitizerComponent ci,
                              CTabHandle colorTableHandle);
ci
Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's OpenComponent function.
colorTableHandle
Contains a color table handle. The video digitizer component uses the color table referred to by this parameter.
DESCRIPTION
Applications can determine whether a digitizer component supports specified lookup tables by examining the digitizer component's output capability flags. Specifically, if the digiOutDoesILUT flag is set to 1, the digitizer component allows applications to specify color lookup tables. Applications can use the VDGetCurrentFlags function (described on page 8-25) to obtain the input capability flags of a component.

This feature is only useful for capturing 8-bit color video.

RESULT CODES
noErr0No error
digiUnimpErr-2201Function not supported

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help